#ifndef _DISKSTREAM_H
#define _DISKSTREAM_H

#include "disk.h"

struct disk_stream
{
    int pos; // represents current position in a stream
    struct disk* disk; 
}
__attribute__((packed));

struct disk_stream* disk_stream_new(const int disk_id);
const int disk_stream_seek(struct disk_stream* stream, const int pos);
const int disk_stream_read(struct disk_stream* stream, void* out, const int total);
void disk_stream_close(struct disk_stream* stream);

#endif 